include( "enum.lua" )

GM.Name		= "Hide and Seek"
GM.Author	= "blankthemuffin & -Anders-/Auro"
GM.Email	= ""
GM.Website	= ""

DeriveGamemode( "base" )

team.SetUp( TEAM_HIDE, "Hiders", TEAM_HIDE_COL )
team.SetUp( TEAM_SEEK, "Seekers", TEAM_SEEK_COL )
team.SetUp( TEAM_SPEC, "Spectators", TEAM_SPEC_COL )

-- Global var to store the current round status.
HNS_GAMESTATUS = GAMESTATUS_WAITING

-- And the time left for the round.
HNS_TIMELEFT = 100

function GetTeamName( teamID )

	if teamID == TEAM_HIDE then
		return "Team HIDE!"
	elseif teamID == TEAM_SEEK then
		return "Team SEEK!"
	elseif teamID == TEAM_SPEC then
		return "The spectators."
	end	
	
	-- Default
	return "Unknown team!!"

end

function GetStatusString( status )
	
	if status == GAMESTATUS_WAITING then
		return "WAITING FOR MORE PLAYERS"
	elseif status == GAMESTATUS_STARTING then
		return "STARTING!"
	elseif status == GAMESTATUS_RUNNING then
		return "PLAYING"
	end
	
	return "ERROR WITH GAMESTATUS!"

end 

function GM:PlayerShouldTakeDamage( ply, attacker )
	return true
end
